package com.zimbra.cs.index;

import java.io.Closeable;
import java.io.IOException;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.Term;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.Sort;

public abstract interface ZimbraIndexSearcher
  extends Closeable
{
  public abstract Document doc(ZimbraIndexDocumentID paramZimbraIndexDocumentID)
    throws IOException;
  
  public abstract int docFreq(Term paramTerm)
    throws IOException;
  
  public abstract ZimbraIndexReader getIndexReader();
  
  public abstract ZimbraTopDocs search(Query paramQuery, int paramInt)
    throws IOException;
  
  public abstract ZimbraTopDocs search(Query paramQuery, ZimbraTermsFilter paramZimbraTermsFilter, int paramInt)
    throws IOException;
  
  public abstract ZimbraTopFieldDocs search(Query paramQuery, ZimbraTermsFilter paramZimbraTermsFilter, int paramInt, Sort paramSort)
    throws IOException;
}


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/index/ZimbraIndexSearcher.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */